package com.test.springtp.service.impl;

import com.test.springtp.model.CustomerVo;
import com.test.springtp.model.TbOrder;
import com.test.springtp.mapper.TbOrderMapper;
import com.test.springtp.service.ITbOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ll
 * @since 2025-10-31
 */
@Service
public class TbOrderServiceImpl extends ServiceImpl<TbOrderMapper, TbOrder> implements ITbOrderService {
    @Autowired
    private TbOrderMapper tbOrderMapper;
    @Override
    public List<CustomerVo> queryAll() {
        return tbOrderMapper.queryAll();
    }
}
